package com.justgame.project.service.system.controller.form.custom;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel("用户注册提交表单")
public class SysUserInfoSignPostForm {

    @NotBlank(message = "必须输入账号")
    @ApiModelProperty("账号")
    private String userName;

    @NotBlank(message = "必须输入密码")
    @ApiModelProperty("密码")
    private String password;

    @NotBlank(message = "必须输入确认密码")
    @ApiModelProperty("确认密码")
    private String surePassword;

//    @NotBlank(message = "必须输入手机号")
    @ApiModelProperty("手机号")
    private String phone;

    @NotBlank(message = "必须输入邮箱")
    @ApiModelProperty("邮箱")
    private String email;

//    @NotBlank(message = "必须输入短信验证码")
    @ApiModelProperty("短信验证码")
    private String smsCode;

    @NotBlank(message = "必须输入邮箱验证码")
    @ApiModelProperty("邮箱验证码")
    private String mailCode;
}
